<template>
	<view class="list">
		<view class="text">
			<view class="">
				资讯
			</view>
			<i class="iconfont icon-right-1-copy"></i>
		</view>
		<view class="lists" v-for="(item,index) in newListData">
			<view class="listres">
				<view class="">
					{{item.title}}
				</view>
				<view class="dome">
					{{item.addtime.substr(0,10)}}
				</view>
			</view>
			<image :src="item.picture" mode=""></image>

			
		</view>
	</view>
</template>

<script>

	export default {
		data() {
			return {

			}
		},
		props : {
			newListData:{
				type: Array,
				default: ()=>[]
			}
		}
	}
</script>

<style lang="less">
	.list {
		padding: 0 32rpx;

		.text {
			display: flex;
			justify-content: space-between;
			font-size: 35rpx;
			margin: 50rpx 0;
		}

		.icon-right-1-copy {
			color: #878787;
		}
	}

	.lists {
		font-size: 28rpx;
		display: flex;
		justify-content: space-between;
		margin-bottom: 50rpx;

		.listres {
			width: 375rpx;
			// display: flex;
			flex-wrap: wrap;
			// padding-top: 40rpx;
			align-content: space-between;

			.dome {
				font-size: 20rpx;
				color: #878787;
				padding-top: 80rpx;
			}
		}

		image {
			width: 248rpx;
			height: 165rpx;
		}
	}
</style>